/*民居模块：概述数据*/
const summarize= [
  {
    title: '概述：',
    content:'中国地大物博，地方建筑灿若星河，各具特色，潮汕民居便是这其中的一朵奇葩，融汇千百年来潮汕人的智慧。潮汕民居直接地将大自然因素所谓“天时、地气、顺风”溶入建筑中，体现出人天和谐的统一境界和高尚心灵意境。潮汕民居的建筑方位一般是取朝南偏东的，以南为主。这样一来，冬天可挡住严寒的北风，夏天则可以接受凉快的南风。',
    imageUrl:'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/1.jpg'
  },
  {
    title:'建筑风格：',
    content: '类于皇宫\t规模庞大\t轻巧通透\t注重装饰\t工艺精致\t追求与自然的和谐\t讲究风水\t独特的建筑方式和材料',
    imageUrl:'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/2.jpg'
  },
  {
    title:'建筑构成',
    content: '居室\t天井庭院\t厅堂',
    imageUrl:'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/3.jpg'
  },
  {
    title:'主要样式：',
    content:'在潮汕，农村传统民居的样式有多种多样，虽然潮汕地区出现了许多的高楼大厦，但是在农村里，仍然保存着一些传统的老式民居，而且这些民居都是用形象生动的名字来命名的，如“四马拖车”、“四点金”、“下山虎”等等',
    imageUrl:'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/4.jpg'
  },
  {
    title:'四点金',
    content:'“四点金”是潮汕独特的村居,旧时只有殷富显达的家庭才能建造。“四点金”建筑格局有点像北京的四合院。外围一般有围墙,围墙内打阳埕,凿水井；大门左右两侧有“壁肚”；一进门就是前厅,两边的房间叫前房；进而是空旷的天井,两边各有一房间,一间作为厨房,称为“八尺房”；另一间作为柴草房,一般称为“厝手房”；天井后边为大厅,两边各有一个大房。“四点金”的构筑还有多种:只有前后四个正房,没有厝手房及八尺房,而四厅齐向天井的,称“四厅会”；前后房都带八尺房和厝手房的,则变八房为十室的称为“四喷水”。如果在“四点金”外围建一圈房屋,则谓之“四点金加厝包”。',
    imageUrl: 'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/四点金.jpg',
  },
  {
    title:'下山虎',
    content:'“下山虎”的建筑在潮汕地区农村较为普遍，又称为“爬狮”。顾名思义，“下山虎”的开头真有点如下山虎又似爬行之狮。建筑格局比“四点金”简单，比它少了两个前房，其余的基本一样。“下山虎”因为出入门路不同，因此有开正门和边门的区别。通常中间不开门，而是两边开门，两边的门又称为“龙虎门”，也既有开正门而不开边门的。“下山虎”形制十分古老，在广州出土的汉代明器和北京故宫博物馆藏的传为隋代展子虔所作的《游春图》中可见其前身，其格局与云南白族“一颗印”住宅也颇为相似。',
    imageUrl: 'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/下虎山.jpg',
  },
  {
    title:'四马拖车',
    content: '“四马拖车”也称“三落二火巷一后包”,是“四点金”的复杂化:“‘落’是潮汕方言, 即进的意思。第一进有凹形门洞, 俗称‘门楼肚’。进大门,中间是过渡厅,有道‘反照’挡在正中。左右各一间房子, 称为‘前房’。一进与二进间,有天井及左右两道通廊。通廊前端各有一门通火巷,左廊的门便叫‘青龙门’, 右廊的门称‘白虎门’俗称为‘龙虎门’。过了天井便是二进, 二进有面阔二间的大厅, 两边各有一间房子称为‘大房’。厅的前后各由八扇禅门隔起来。二进和三进中间也有天井,天井左右各有一爿南北厅,南北厅前后两端都有‘厝手间’,相接前后进的大房。三进的结构与二进相同,只是三进的大厅后面隔开一块狭长的暗间,称作‘后库’。后库左右有门通后包。主体建筑两边各有一列与它平行的房子称作火巷, 由龙虎门及厝手间的内外子孙门连接主体建筑。后包指三进后面的一列房子。整个建筑格局就像一驾由四匹马拉着的车子, 故名‘四马拖车’”。',
    imageUrl: 'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/四马拖车.jpg'
  }
]

const imageList = [
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/a.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/b.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/c.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/d.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/e.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/f.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/g.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/h.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/i.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/j.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/k.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/l.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/m.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/n.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/o.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/p.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/q.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/r.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/s.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/t.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/u.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/v.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/w.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/y.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/zz.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/aa.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/aaa.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/bb.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/bbb.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/cc.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/ccc.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/dd.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/ddd.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/ee.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/ff.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/gg.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/ii.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/jj.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/kk.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/ll.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/mm.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/oo.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/pp.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/qq.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/rr.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/ss.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/tt.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/uu.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/vv.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/ww.jpg',
  'cloud://lsp962416251.6c73-lsp962416251-1302285781/house/yy.jpg',
]

//获取去“民居模块：概述”数据的函数
function getSummarizeList() {
  let list = [];
  for (var i = 0; i < summarize.length; i++) {
    let obj = {};
    obj.title = summarize[i].title;
    obj.content = summarize[i].content;
    obj.imageUrl= summarize[i].imageUrl;
    list.push(obj);
  }
  return list;
}

//获取“民居模块：概述的图片”数据的函数
function getImageList() {
  let list = imageList;
  return list
}

//暴露接口
module.exports = {
  getSummarizeList: getSummarizeList,
  getImageList: getImageList
}